package cn.liberals.service.impl;

import cn.liberals.domain.Product;
import cn.liberals.mapper.ProductMapper;
import cn.liberals.service.IProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class ProductService implements IProductService {

    @Autowired
    private ProductMapper productMapper;

    @Override
    public void add(Product product) {
        productMapper.add(product);
    }
}
